<?php
namespace Home\Model;
use Think\Model\RelationModel;

class UserModel extends RelationModel {
	protected $_validate = array(
			
	);
	
	protected $_auto = array (
			
	);
	
	
	protected $_link = array(
		'auth_group_access'=>array(
			'mapping_type'=>self::HAS_ONE,
			'foreign_key'=>'uid',
	//			'mapping_fields'=>'group_id',
			'as_fields'=>'group_id',
		)
	);
}
?>